package com.hjl.sr.security;

import java.io.InputStream;
import java.io.OutputStream;

import com.hjl.sr.remoting.EncryptContext;

/**
 * @author pister
 * 2012-12-17 下午08:36:03
 */
public interface Encrypter {
	
	OutputStream encryptOutputStream(OutputStream outputStream, EncryptContext encryptContext);
	
	InputStream decryptInputStream(InputStream inputStream, EncryptContext encryptContext);
	
}
